﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.Design.WebControls;
using System.Web.UI.Design;
using System.Windows.Forms;

namespace Org.Eurekaa.DNJ.Design.WebControls
{
    public class DNJPanelDesigner : PanelContainerDesigner
    {
        
        public override string GetDesignTimeHtml(DesignerRegionCollection regions)
        {
            IWebApplication webApplication =
                    (IWebApplication)this.GetService(typeof(IWebApplication));
            http.DNJHttpHelper.RegisterInComponent(webApplication, true, true);
            return base.GetDesignTimeHtml(regions);
        }

    }
}
